package com.gitee.qdbp.base.shiro.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * 在线用户信息
 *
 * @author zhaohuihua
 * @version 180830
 */
public class OnlineUser implements Serializable {

    /** serialVersionUID **/
    private static final long serialVersionUID = 1L;

    private Serializable sessionId;

    private Date startTimestamp;

    private Date lastAccessTime;

    private long timeout;

    private String host;

    private Object account;

    public Serializable getSessionId() {
        return sessionId;
    }

    public void setSessionId(Serializable sessionId) {
        this.sessionId = sessionId;
    }

    public Date getStartTimestamp() {
        return startTimestamp;
    }

    public void setStartTimestamp(Date startTimestamp) {
        this.startTimestamp = startTimestamp;
    }

    public Date getLastAccessTime() {
        return lastAccessTime;
    }

    public void setLastAccessTime(Date lastAccessTime) {
        this.lastAccessTime = lastAccessTime;
    }

    public long getTimeout() {
        return timeout;
    }

    public void setTimeout(long timeout) {
        this.timeout = timeout;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Object getAccount() {
        return account;
    }

    public void setAccount(Object account) {
        this.account = account;
    }

}
